function geocoder(city, address, callback) {
    var resMap = {};
    $.ajax({
        type : "get",
        url : "http://api.map.baidu.com/geocoder/v2/?city=" + city + "&address=" + address
                + "&output=json&ak=ehVSShBMHkM7bduwqpEGdWtu&callback=?",
        async : false,
        dataType : 'jsonp',
        success : function(data) {
            resMap['lng'] = data.result.location.lng;
            resMap['lat'] = data.result.location.lat;
            callback(resMap);
        }
    });
}
function staticimage(lng, lat) {
    return "http://api.map.baidu.com/staticimage?width=690&height=311&zoom=15&center=" + lng + "," + lat + "&markers="
            + lng + "," + lat;
}